<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ice="http://www.icesoft.com/icefaces/component"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:t="http://myfaces.apache.org/tomahawk"
	xmlns:icefusion="http://icefusion.googlecode.com/icefusion">
<body>
<ui:composition template="#{iceFusionConsts.templatePage}">
	<ui:define name="title">
		#{icecube['application.menu.presentation.dataTable']}
	</ui:define>
	<ui:define name="content">
		#{icecube['application.menu.presentation.dataTable.text']}
		<ice:form>
			<ice:panelGrid>
				<ice:dataTable id="table" var="tableRows" value="#{dataTable.rowsList}" 			
					rows="3" resizable="true">
					<ice:column>
						<f:facet name="header">
							<ice:outputText value="#{icecube['application.menu.presentation.dataTable.attribute.firstname']}"/>
						</f:facet>
						<ice:outputText value="#{tableRows.firstname}"/>
					</ice:column>
					<ice:column>
						<f:facet name="header">
							<ice:outputText value="#{icecube['application.menu.presentation.dataTable.attribute.lastname']}"/>
						</f:facet>
						<ice:outputText value="#{tableRows.lastname}"/>
					</ice:column>
					<ice:column>
						<f:facet name="header">
							<ice:outputText value="#{icecube['application.menu.presentation.dataTable.attribute.jsfFocus']}"/>
						</f:facet>
						<ice:outputText value="#{(tableRows.jsfFocus) ? 'X' : ''}"/>
					</ice:column>
					<ice:column>
						<f:facet name="header">
							<ice:outputText value="#{icecube['application.menu.presentation.dataTable.attribute.homepage']}"/>
						</f:facet>
						<ice:outputText value="#{tableRows.homepage}"/>
					</ice:column>
				</ice:dataTable>
				<ice:dataPaginator for="table">
					<f:facet name="first">
						<ice:graphicImage style="border:none;"
							url="#{iceFusionConsts.skinBase}/#{context.skin}/css-images/arrow-first.gif"></ice:graphicImage>
					</f:facet>
					<f:facet name="last">
						<ice:graphicImage style="border:none;"
							url="#{iceFusionConsts.skinBase}/#{context.skin}/css-images/arrow-last.gif"></ice:graphicImage>
					</f:facet>
					<f:facet name="previous">
						<ice:graphicImage style="border:none;"
							url="#{iceFusionConsts.skinBase}/#{context.skin}/css-images/arrow-previous.gif"></ice:graphicImage>
					</f:facet>
					<f:facet name="next">
						<ice:graphicImage style="border:none;"
							url="#{iceFusionConsts.skinBase}/#{context.skin}/css-images/arrow-next.gif"></ice:graphicImage>
					</f:facet>
					<f:facet name="fastforward">
						<ice:graphicImage style="border:none;"
							url="#{iceFusionConsts.skinBase}/#{context.skin}/css-images/arrow-ff.gif"></ice:graphicImage>
					</f:facet>
					<f:facet name="fastrewind">
						<ice:graphicImage style="border:none;"
							url="#{iceFusionConsts.skinBase}/#{context.skin}/css-images/arrow-fr.gif"></ice:graphicImage>
					</f:facet>
				</ice:dataPaginator>
			</ice:panelGrid>
		</ice:form>
   	</ui:define>
</ui:composition>
</body>
</html>